home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #6 / Amiga Plus CD - 1996 - No. 06.iso / pd / netz / dl / makefile.in < prev    next >
Makefile  |  1992-09-02  |  778b  |  45 lines

  1. #
  2. # Makefile for DownLoad v1.00
  3. #
  4. # This program is in the public domain and may be used freely by anyone
  5. # who wants to.
  6. #
  7. # Last update: 13 Feb 1996
  8. #
  9. # Please send bug reports to: Zlatko Calusic <maverick@fly.cc.fer.hr>
  10. #
  11.  
  12. # Prefix directory
  13. prefix = /usr/local
  14.  
  15. # Generated with configure script
  16. CC = @CC@
  17. CFLAGS = @CFLAGS@
  18. LDFLAGS = -s
  19. LIBS = @LIBS@
  20.  
  21. OBJS = main.o retrieve.o lowlevel.o misc.o
  22.  
  23. .c.o:
  24.     $(CC) $(CFLAGS) -c $<
  25.  
  26. dl: $(OBJS)
  27.     $(CC) $(OBJS) $(LDFLAGS) -o dl -lm $(LIBS)
  28.  
  29. main.o: main.c dl.h
  30. retrieve.o: retrieve.c dl.h
  31. lowlevel.o: lowlevel.c dl.h
  32. misc.o: misc.c dl.h
  33.  
  34. install: dl
  35.     cp dl $(prefix)/bin
  36.     chmod 755 $(prefix)/bin/dl
  37.     cp dl.1 $(prefix)/man/man1
  38.     chmod 444 $(prefix)/man/man1/dl.1
  39.     
  40. clean:
  41.     rm -rf *.o core dl
  42.  
  43. distclean:
  44.     rm -rf *.o core dl Makefile
  45.